#include "StdAfx.h"
#include "SeparatorLineUI.h"
#include "BlueRenderEngineUI.h"

CSeparatorLineUI::CSeparatorLineUI(void)
{
}

CSeparatorLineUI::~CSeparatorLineUI(void)
{
}

LPCTSTR CSeparatorLineUI::GetClass() const
{
	return _T("SeparatorLineUI");
}

SIZE CSeparatorLineUI::EstimateSize(SIZE /*szAvailable*/)
{
	return CStdSize(0, 12);
}

void CSeparatorLineUI::DoPaint(HDC hDC, const RECT& /*rcPaint*/)
{
	RECT rc1 = { m_rcItem.left, m_rcItem.top + 3, m_rcItem.right - 1, m_rcItem.top + 3 };
	CBlueRenderEngineUI::DoPaintLine(hDC, m_pManager, rc1, UICOLOR_EDIT_TEXT_DISABLED);
	RECT rc2 = { m_rcItem.left, m_rcItem.top + 4, m_rcItem.right, m_rcItem.top + 4 };
	CBlueRenderEngineUI::DoPaintLine(hDC, m_pManager, rc1, UICOLOR_EDIT_TEXT_DISABLED);
}
